/*
 * @Author: lmk
 * @Date: 2021-11-17 19:44:50
 * @LastEditTime: 2021-11-18 20:56:17
 * @LastEditors: lmk
 * @Description: 
 */
import {add,update,deleteIds} from '@/api/crud.js'
export default {
	data(){
		return {
			addFlag:false
		}
	},
	methods:{
		//选中回调
		select(item){
			this.$set(item,'address',item.cityPath?item.cityPath.split(',').join('-') : '')
			this.activeForm = this.$u.deepClone(item);
			this.addFlag = true;
			this.isCityEdit = true;
		},
		showPop(){
			this.activeForm = {
				count:'',
				address:"",
				id:''
			};
			this.addFlag = true;
		},
		close(){
			this.addFlag = false;
			this.isCityEdit = false;
		},
	}
}